import request from '@/utils/request'

export function adminOrder(param) {
    return request({
        url: `/order/admin/list/${param.current}?status=${param.status}&phone=${param.phone}&title=${param.title}`,
        method: "GET"
    })
}

export function adminExportOrder(param) {
    return request({
        url: `/goods/excel/export/order?status=${param.status}&phone=${param.phone}&title=${param.title}`,
        method: "GET"
    })
}

export function updateOrder(param) {
    return request({
        url: `/order/update`,
        method: "POST",
        data: param
    })
}

export function sendGoodsLogistics(param) {
    return request({
        url: `/order/send`,
        method: "POST",
        data: param
    })
}

export function tipBusiness(param) {
    return request({
        url: param,
        method: "GET",
    })
}

